#ifndef _USER_SYS_CONFIG_H_
#define _USER_SYS_CONFIG_H_

#include "tool.h"


#define USE_WATCH_DOG	

#define USE_UNITY	

#define USE_DEBUG_PRINTF
#define USE_NO_PRINTF			1
#define USE_JLINK_PRINTF		1
#define USE_USART_PRINTF 		0

#ifdef USE_DEBUG_PRINTF

	#if USE_NO_PRINTF
		#define DEBUG_PRINTF(fmt, ...) 	 do { \
																				} \
																		while(0)
	#elif USE_JLINK_PRINTF
		#define DEBUG_PRINTF(fmt, ...)	 SEGGER_LOG(fmt, ##__VA_ARGS__)
	#elif	USE_USART_PRINTF
		#define DEBUG_PRINTF(fmt, ...)	 printf("[%s:%d] " fmt "\n\r", __FILE__, __LINE__, ##__VA_ARGS__)
	#endif

#endif


#endif
